package cn.lyjuan.dwz_manage.core.base.mapper;

import cn.lyjuan.dwz_manage.core.base.pojo.PrivilegePojo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
 
/**
 * Created By pojoutils-V4.0 2016-09-10 15:35:06
 */
public interface IPrivilegeMapper
{
	PrivilegePojo select(@Param("privilege")PrivilegePojo privilege);

	PrivilegePojo selectById(@Param("id")int id);

	List<PrivilegePojo> selects(@Param("privilege")PrivilegePojo privilege);

	List<PrivilegePojo> selectForPage(@Param("privilege")PrivilegePojo privilege, @Param("start")int start, @Param("len")int len);

	int insert(@Param("privilege")PrivilegePojo privilege);

	int updateById(@Param("privilege")PrivilegePojo privilege);

	int deleteById(@Param("id")int id);



}